package fr.afcepf.projet.hebergeur.data;

import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;

@Entity
@Table
@Inheritance(strategy=InheritanceType.JOINED )
public class ServeurDedie extends Abonnement {

	private String formule;
	private String os;
	public ServeurDedie() {
		super();
	}
	public String getFormule() {
		return formule;
	}
	public void setFormule(String formule) {
		this.formule = formule;
	}
	public String getOs() {
		return os;
	}
	public void setOs(String os) {
		this.os = os;
	}
	@Override
	public String toString() {
		return "ServeurDedie [getFormule()=" + getFormule() + ", getOs()="
				+ getOs() + ", getDateRenouvellement()="
				+ getDateRenouvellement() + ", getClient()=" + getClient().getNumClient()
				+ ", getPrix()=" + getPrix() + ", getDateCreation()="
				+ getDateCreation() + ", getDateFin()=" + getDateFin()
				+ ", getNumAbo()=" + getNumAbo() + "]";
	}
	
}
